Automattic\Jetpack\My_Jetpack\Products\Protect S

Total Complexity 25
Dependencies 6
Dependents 2
Total lines 429
Lines of code 225
Logical lines of code 41
Comment lines 149
Methods 19
Properties 9

Methods 19

Method Rating Maintainability Complexity Lines of code
does_module_need_attention()
S
51 5 27
get_features_by_tier()
S
41 1 82
get_site_protect_data()
S
54 2 24
get_pricing_for_ui()
S
59 1 17
get_manage_url()
S
71 2 6
register_endpoints()
S
62 1 12
get_description()
S
79 1 3
get_long_description()
S
79 1 3
get_features()
S
68 1 8
get_tiers()
S
72 1 6
get_title()
S
81 1 3
permissions_callback()
S
80 1 3
get_name()
S
81 1 3
get_paid_plan_product_slugs()
S
71 1 7
is_upgradable()
S
79 1 3
get_post_checkout_url()
S
80 1 3
get_post_checkout_urls_by_feature()
S
71 1 6
get_manage_urls_by_feature()
S
71 1 6
is_upgradable_by_bundle()
S
79 1 3